﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FFSupplier.ServiceCore.Model
{
    public class CrmOrgaizationConfiguration
    {
        /// <summary>
        /// 获得访问用户名
        /// </summary>
        /// <returns>访问用户名</returns>
        public string ServerUserName { get; set; }
        /// <summary>
        /// 获得访问密码
        /// </summary>
        /// <returns>访问密码</returns>
        public string ServerUserPassword { get; set; }
        /// <summary>
        /// 获得访问域名
        /// </summary>
        /// <returns>访问域名</returns>
        public string ServerUserDomin { get; set; }
        /// <summary>
        /// 获得访问地址
        /// </summary>
        /// <returns>访问地址</returns>
        public string ServerUrl { get; set; }
        /// <summary>
        /// 获取CRM数据库
        /// </summary>
        /// <returns>访问地址</returns>
        public string CrmDataBase { get; set; }
        /// <summary>
        /// 获得CRM管理员编号
        /// </summary>
        /// <returns>编号</returns>
        public Guid CrmAdministratorId { get; set; }
        /// <summary>
        /// 获得Token超时秒数
        /// </summary>
        /// <returns>超时秒数</returns>
        public int TokenSeconds { get; set; }
        /// <summary>
        /// 获得CRM地址
        /// </summary>
        /// <returns>CRM地址</returns>
        public string CRMUrl { get; set; }
        /// <summary>
        /// 获得安全配置文件开始读取数量
        /// </summary>
        /// <returns>开始读取数量</returns>
        public int SecurityConfigurationBegin { get; set; }
        /// <summary>
        /// 获得安全配置文件结束读取数量
        /// </summary>
        /// <returns>结束读取数量</returns>
        public int SecurityConfigurationEnd { get; set; }
        /// <summary>
        /// 获得手动共享过期天数
        /// </summary>
        /// <returns>过期天数</returns>
        public int ManualShareExpireDay { get; set; }
    }
}
